raar.process
Class RAPair

java.lang.Object
  extended byraar.process.RAPair
All Implemented Interfaces:
java.io.Serializable

public class RAPair
extends java.lang.Object
implements java.io.Serializable

Pairs of Processes between which we can send some info.
Used for connections between various processes in an agent.

See Also:
Serialized Form

Field Summary
 RAProcess in
           
 java.lang.String inName
           
 RAProcess out
           
 java.lang.String outName
           
 
Constructor Summary
RAPair(RAProcess o, java.lang.String outn, RAProcess i, java.lang.String inn)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals overrides the general method. this method is needed to remove connections
 java.lang.String getInName()
           
 RAProcess getInProcess()
           
 java.lang.String getOutName()
           
 RAProcess getOutProcess()
           
 void send()
          This method will send the register contents from one process to another
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

public RAProcess out

outName

public java.lang.String outName

in

public RAProcess in

inName

public java.lang.String inName
Constructor Detail

RAPair

public RAPair(RAProcess o,
              java.lang.String outn,
              RAProcess i,
              java.lang.String inn)
Constructor

Method Detail

send

public void send()
          throws RAException
This method will send the register contents from one process to another

Throws:
RAException

getOutProcess

public RAProcess getOutProcess()

getInProcess

public RAProcess getInProcess()

getOutName

public java.lang.String getOutName()

getInName

public java.lang.String getInName()

equals

public boolean equals(java.lang.Object o)
Equals overrides the general method. this method is needed to remove connections